const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 9889,
    proxy: {
      '/test': {
        target: 'https://xx.com', // 目标服务器地址
        pathRewrite: { '^/test': '' } // 路径重写规则
      }
    },
  },
})
